﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PageMaster.Master" AutoEventWireup="true" CodeBehind="ClientLogin.aspx.cs" Inherits="MonitorPlan.ClientLogin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <div class="container">
         <asp:Panel ID="Panel1" runat="server">
             <div class="loginForm">
            <div class="title">
                <h4 class="text-success">Client Login</h4>
            </div>
            <div class="loginControls">
                <div class="row">&nbsp;</div>
                <label for="txtUserName">User Name</label>
                <asp:TextBox ID="txtUserName" runat="server"></asp:TextBox>
                <label for="txtPassword">Password</label>
                <asp:TextBox TextMode="Password" runat="server" ID="txtPassword"></asp:TextBox>
                <asp:LinkButton ID="btnLogin" runat="server" CssClass="btn btn-primary" OnClick="btnLogin_Click" >Sign In</asp:LinkButton>
                <asp:LinkButton ID="btnCancel" runat="server" CssClass="btn btn-danger">Reset</asp:LinkButton>
                <div class="sms-wraper">
                    <asp:Label ID="loginSms" runat="server"></asp:Label>
                </div>
            </div>
            <asp:SqlDataSource ID="dsHouse" runat="server" ConnectionString="<%$ ConnectionStrings:conStr %>"
                 SelectCommand="select houseid, housename from house where isdeleted=0"></asp:SqlDataSource>
           
        </div>

         </asp:Panel>
          <asp:Panel ID="pnHouseList" runat="server">
              <label for="ddlHouse">Please Choose One of Your House!</label>
                <asp:DropDownList ID="ddlHouse" runat="server" DataSourceID="dsHouse"
                     DataTextField="housename" DataValueField="houseid"></asp:DropDownList>
                <br />
                <asp:Button ID="btnOk" runat="server" Text=" OK " CssClass="btn btn-info btn-small" OnClick="btnOk_Click" />
            </asp:Panel>
    </div>
</asp:Content>
